package com.nulldev.util.web.nTubeExtensions.extended.objects;

public class ExtendedVideoMetadata {
	/* Required */

	private final String videoID;
	private final String videoTitle;
	private final String author;

	/* Optional */

	private long likes = -1L, dislikes = -1L;

	public ExtendedVideoMetadata(final String videoID, final String videoTitle, final String author) {
		this.videoID = videoID;
		this.videoTitle = videoTitle;
		this.author = author;
	}

	public String getVideoID() {
		return this.videoID;
	}

	public String getVideoTitle() {
		return this.videoTitle;
	}

	public String getAuthor() {
		return this.author;
	}

	public boolean hasLikes() {
		return this.likes > -1;
	}

	public boolean hasDislikes() {
		return this.dislikes > -1;
	}
}
